package p2p;

import java.util.logging.Level;
import java.util.logging.Logger;

/** Thread that updates progress values in the "Files" table of frmP2P.
 * @author Bruno
 */
public class UpdateFilesTableThread extends Thread {

	@Override
	public void run() {
		while(true) {
			P2PFileList.refreshFilesTable();

			try {
				Thread.sleep(Global.filesTableRefreshInterval);
			} catch (InterruptedException ex) {
				// Ignore
			}
		}
	}

}
